// JavaScript Document
var objArr = []; (function(a) {
	a(function() {
		a(".base .showmore_btn_hide,.base .showmore_btn").css("display", "inline-block").click(function() {
			var j = "showmore_btn_hide";
			var i = "showmore_btn";
			var k = this.className;
			var g = a(this).parent().next();
			g.css({
				overflow: "hidden"
			});
			var f;
			if (g.attr("height")) {
				f = parseInt(g.attr("height"), 10)
			} else {
				f = a(g).height();
				g.attr("height", f)
			}
			if (k === i) {
				this.className = j;
				a(this).children().text("收起");
				if (a(g).css("display") == "none") {
					a(g).css({
						display: "",
						height: 0
					})
				}
				a(g).stop().animate({
					height: f,
					opacity: 1
				},
				500)
			} else {
				this.className = i;
				a(this).children().text("更多");
				a(g).stop().animate({
					height: 0,
					opacity: 0
				},
				500)
			}
			return false
		});

	})
})(jQuery);